package com.example.drive

import android.os.Bundle
import android.view.LayoutInflater
import com.example.drive.base.BaseActivity
import com.example.drive.databinding.ActivityMainBinding
import com.example.drive.fragment.MainFragment

class MainActivity : BaseActivity<ActivityMainBinding>() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        supportFragmentManager.beginTransaction()
            .replace(R.id.fl_container, MainFragment())
            .commit()
    }

    override fun initViewBinding(layoutInflater: LayoutInflater): ActivityMainBinding {
        return ActivityMainBinding.inflate(layoutInflater)
    }
}